#ifndef TERRAIN_PATCH_H
#define TERRAIN_PATCH_H

#include "terrain_Vertex.h"

namespace terrain {

class Patch
{
public:
    Patch();
    ~Patch();

    void SetTopL(Vertex *vertex) { m_TopL = vertex; }
    void SetTopR(Vertex *vertex) { m_TopR = vertex; }
    void SetBotR(Vertex *vertex) { m_BotR = vertex; }
    void SetBotL(Vertex *vertex) { m_BotL = vertex; }

    Vertex* GetTopL() { return m_TopL; }
    Vertex* GetTopR() { return m_TopR; }
    Vertex* GetBotR() { return m_BotR; }
    Vertex* GetBotL() { return m_BotL; }

private:

    Vertex *m_TopL;
    Vertex *m_TopR;
    Vertex *m_BotR;
    Vertex *m_BotL;
};

}

#endif // TERRAIN_PATCH_H
